using System.Collections.Generic;
using System.Transactions;
using RFS.BizLogic.PaiShi.Ports.Adapters;
using RFS.Domain.PaiShi.Accounting;
using RFS.Domain.Sys;

namespace RFS.BizLogic.PaiShi.Ports
{
    public interface IRepoAcc
    {
        void SaveEntity(AVSEntity toEntity);
        List<dynamic> ExecuteSqlQuery(string query);
        void DeleteEntity(AVSEntity toEntity  );
        AVSEntity GetById(ulong id);
        IEnumerable<AVSListItemEntity> GetTheLastestRecords(int days = 7);
        void SaveTheAvsListItem(IDayBasedWorkFlowNodeAccountingVoucherSetWrapper o);
    }
}